package com.molichuxing.services.infrastructure.service;

import com.molichuxing.services.infrastructure.dto.request.create.CarStatisticsCreateDto;
import com.molichuxing.services.infrastructure.dto.response.CarStatisticsDto;

/**
 * @Author: renzhengyu
 * @Description: 车辆统计
 * @Date: Created in 9:49 2019/10/16
 * @Modified By:
 **/
public interface CarStatisticsService {

    /**
     * 根据车型id查询车辆统计数据
     * @param vehicleId
     * @return
     */
    CarStatisticsDto getCarStatisticsByVehicleId(Integer vehicleId);


    /**
     * 根据车型id查询增加统计数量
     * @param vehicleId
     * @return
     */
    int modifyTradingVolumeByVehicleId(Integer vehicleId);

    /**
     * 创建车辆统计
     * @param carStatisticsCreateDto
     * @return
     */
    int createCarStatistics(CarStatisticsCreateDto carStatisticsCreateDto);
}
